import {get,post} from '@/utils/request'

export async function getMenuList(){
    return await get('http://127.0.0.1:8686/route',null)
}

export async function getUserInfo(){
    return await get('http://127.0.0.1:8686/his/sys/member/user',null)
}

export async function updateUser(data){
    return await post('http://127.0.0.1:8686/his/sys/member/updatePswd',data)
}

export async function logout(){
    return await post('http://127.0.0.1:8686/logout',null)
}
